home *** CD-ROM | disk | FTP | other *** search
/ La Bible Des… Fonts / La Bible des... Fonts.iso / Utilitaires / Printer Defaults / Printer Defaults ReadMe < prev   
Text File  |  1994-07-27  |  13KB  |  287 lines

  1. Printer Defaults 1.3.1
  2. ----------------------
  3.  
  4. Printer Defaults is an application to modify the default settings in
  5. printer drivers and similar Chooser documents such as print-to-fax and
  6. print-to-document drivers. It has been tested on various machines
  7. running systems 6.0.7, 7.0.1.and 7.1 and a 7.5 beta and with a large
  8. number of different printer drivers including LaserWriter 8.0 and
  9. 8.1.1. If you want a more substantial range of patches for laser
  10. printers then get hold of Don Markuson's dmm-laserwriter collection
  11. which is available, for example, by anonymous ftp from mirrors of the
  12. Info-Mac archive at sumex-aim.stanford.edu in the directory
  13. /info-mac/util or /info-mac/prn.
  14.  
  15.  
  16. WARNING!!!
  17. ----------
  18.  
  19. YOU SHOULD ONLY MODIFY A COPY OF THE PRINTER DRIVER, NEVER THE ORIGINAL.
  20.  
  21.  
  22. How it works
  23. ------------
  24.  
  25. Printer Defaults works by reading in the default settings for the
  26. TPrint Record stored in the resource of type 'PREC' with ID 0 in
  27. the driver and then doing a "Page Setup". Any changes are written
  28. back to the driver and become its new defaults.
  29.  
  30. BUT, once a "Page Setup" has been done, any application may save a copy
  31. of PREC 0 in its own resource fork, or preferences file, or settings
  32. document or each individual document and use this in preference to the
  33. defaults in the driver for future calls to Page Setup. Many word
  34. processors do this for each document. Subsequently modifying the
  35. driver will not have any effect on these stored defaults. TeachText
  36. always fetches the PREC 0 afresh so is a good way to test if changes
  37. have stuck. There is a lot of this sort of cacheing going on which can
  38. appear to defeat setting the defaults in the driver.
  39.  
  40.  
  41. Usage
  42. -----
  43.  
  44. Launch Printer Defaults and use the Standard File dialog to select a
  45. printer driver to configure (or drop one or more drivers onto Printer
  46. Defaults' icon under System 7). This will bring up a "Page Setup"
  47. dialog which you can use to select the new defaults. Clicking "OK"
  48. will save these back to the driver, "Cancel" will go on without
  49. saving.
  50.  
  51. For some printer drivers, there are some additional options which
  52. cannot be accessed from the Page Setup dialog. If any are applicable
  53. to the driver you are modifying an additional dialog will next
  54. appear.
  55.  
  56. Finally, a "Print╔" dialog will appear so that any changes already made
  57. which affect its appearance can be seen, and, in the case of some
  58. drivers, any settings in the "Print╔" dialog which can be written to
  59. PREC 0 can be altered. This varies with the driver, and in any case
  60. may still be ignored or modified at print time by the printer driver
  61. or the application.
  62.  
  63.  
  64. LaserWriter 5.x, 6.0, 6.0.1
  65. ---------------------------
  66.  
  67. The Print dialog of LaserWriter 5.x, 6.0, 6.0.1 contains a hidden
  68. checkbox to allow printing of PostScript¬ output to a disk file rather
  69. than a printer. Printer Defaults can make this checkbox visible.
  70.  
  71.  
  72. LaserWriter 7.2
  73. ---------------
  74.  
  75. A fore-runner of LaserWriter 8, LaserWriter 7.2 puts a ╘Setup╒ button in
  76. the Chooser to allow the printer to be interrogated and stores the resulting
  77. information in a Preferences file. Printer Defaults can hide this button
  78. which makes the behaviour closer to LaserWriter 7.x.
  79.  
  80.  
  81. LaserWriter 8.x
  82. ---------------
  83.  
  84. LaserWriter 8.x (and Adobe's PSPrinter) uses a preferences file as
  85. well as resources for storing its defaults. Some features may also
  86. be read from a PPD (printer description) file and will override any
  87. settings in the driver. So the strategy for setting the defaults
  88. with these drivers is more complicated than with previous drivers.
  89. Also the preferences file must exist or the driver will only give
  90. an error message.
  91.  
  92. The preferences file is created by the driver when it is selected by
  93. the Chooser so the first step is to place the LaserWriter 8.x
  94. driver in the extensions folder and select it with the Chooser. The
  95. preferences file will be created and various information stored in
  96. it.
  97.  
  98. When Printer Defaults is run with LaserWriter 8.x, the information
  99. in the "Page Setup" dialog is partly controlled  by resources and
  100. partly by the preferences file.
  101.  
  102. For LaserWriter 8.x a second dialog of options will also be displayed.
  103. Some are additional options from Don Markuson's collection of
  104. LaserWriter patches which allow the use of the Setup button in the
  105. Chooser at all times, and add the n-up printing menu to the Print
  106. dialog. A final option allows the LaserWriter driver to be used
  107. without AppleTalk. This is useful for PS File generation as it removes
  108. the driver's ability to actually connect to a printer. LaserWriter
  109. 8.1.1 contains a PRFS -8192 resource, many of whose meanings are
  110. unknown to me - I simply read the titles of the check boxes from the
  111. TMPL supplied and allow the user to turn any of them on or off.
  112.  
  113. In order to set the driver up for a specific printer, use the Chooser
  114. to select the LaserWriter 8.x driver and press the Setup button (if
  115. the button is grayed out, use Printer Defaults to check the box "Setup
  116. button in Chooser always active" in the second dialog, save and then
  117. quit and then go back to the Chooser). Then press the "Select PPD╔"
  118. button and choose the PPD file for your printer. Then press the
  119. "Setup" button and modify the settings to match the hardware
  120. configuration of your printer. Save the settings and close the
  121. Chooser.
  122.  
  123. Now run Printer Defaults and select the driver, set the "Page Setup"
  124. buttons to the settings you want and click the "OK" button. In the
  125. next dialog modify any settings as desired and click "Save".
  126. Finally in the "Print" dialog press the "Options" button and make
  127. any desired changes ABOVE THE DOTTED LINE. Press "OK" and then
  128. "Print" to save the changes to the driver. Note that in the
  129. "Options" dialog any settings below the dotted line are reset with
  130. every print job so cannot be made to stick with Printer Defaults.
  131. Sometimes they can be controlled by using switches on the printer
  132. itself.
  133.  
  134. LaserWriter 8.x also makes it easy to lock the driver to print only a
  135. single copy at a time. This has been added as an additional option.
  136. This was originally #7 in Don's list of hacks. The June 1994 MacWorld
  137. mistakenly said this hack was included in v1.1.1 of Printer Defaults.
  138. To avoid having to keep explaining why it isn't I have added it to
  139. v1.3 with one modification. It turns out that QuarkXpress (and perhaps
  140. other applications) can be confused by turning the number of copies
  141. entry box into a static text item as originally suggested by Don and
  142. fails to add its own additional items correctly. So in this version of
  143. Printer Defaults the number of copies is moved off screen and the
  144. driver modified so that it will ignore any entry in this box if a user
  145. attempts to type in a number blind.
  146.  
  147. If Printer Defaults finds a LaserWriter 8.x driver which has had
  148. the number of copies changed to static text, it changes the type back
  149. to edit text and moves it off-screen. 
  150.  
  151.  
  152. Third party drivers
  153. -------------------
  154.  
  155. Although Printer Defaults has never crashed for me when modifying Apple
  156. printer drivers, it may crash with some third party drivers when
  157. modifying some options in the "Print╔" dialog. I have been unable to
  158. determine the cause of the problem. If you experience such a crash
  159. then please let me know the name of the driver and its version number.
  160. For safety it is more essential than ever in these circumstances that
  161. you only modify a copy.
  162.  
  163. The HP DeskWriter series cause Printer Defaults to crash unless they
  164. are the selected driver in the Chooser. I have also had reports of
  165. similar behaviour by the FaxSTF driver but do not have access to a
  166. copy to check. Printer Defaults will insist on having these drivers
  167. selected by the Chooser before opening them.
  168.  
  169. If you discover any other third party drivers with this behaviour then
  170. please send me the name, version number and, if possible, the driver's
  171. creator signature (as given by ResEdit's Get File Info command). The
  172. list of these 'bad' signatures is stored in a 'CHOS' resource and a
  173. ResEdit template is included in Printer Defaults to add signatures to
  174. or remove them from the list.
  175.  
  176.  
  177. Paper Trays
  178. -----------
  179.  
  180. One of the most frequently asked questions I have received as a result
  181. of distributing Printer Defaults is "How do I change the default
  182. paper tray in my LaserWriter Pro 630?"
  183.  
  184. The default paper source is stored in the permanent memory of the
  185. printer and can be modified by means of a short postscript program. In
  186. the Paper Trays Folder are some postscript programs (courtesy of Ad
  187. Herweijer) to set the default tray to the Main or 500-sheet Cassettes,
  188. the Multipurpose Tray or Envelope Feeder tray. The factory default is
  189. the Main Cassette.
  190.  
  191. Use the LaserWriter Utility supplied on the printer installation disks
  192. to download the program to select the desired tray. You should then
  193. also turn off "Automatic Tray Switching" in the "Paper Handling╔"
  194. dialog from the "Utilities" menu. The successful selection of the new
  195. tray as default should be recorded in the LaserWriter Utility log
  196. file (which saves using up more trees to find out ;-).
  197.  
  198. I've also included some programs to change the defaults on other
  199. postscript printers that have a choice of trays (Personal LaserWriter
  200. NTR, LaserWriter Select 310/360). These are untested and I would
  201. welcome feedback on whether they have the desired effect.
  202.  
  203.  
  204. Thanks
  205. ------
  206.  
  207. Thanks to the Mac-Supporter's mailing list (one of the NISP Mailbase
  208. lists in the UK academic community) for being such a useful source of
  209. Macintosh knowhow.
  210.  
  211. Thanks to Don Markuson for all those useful LaserWriter patches and
  212. allowing me to include some in Printer Defaults. He was also kind
  213. enough to comment on an early version of Printer Defaults and suggest
  214. several improvements. Thanks also to Ian Harries for bringing Don's
  215. LaserWriter 8 patches to my attention which provided the initial
  216. stimulus to write Printer Defaults. Thanks to David Fagan for pointing
  217. out some problems with LaserWriter 8. Thanks to Ad Herweijer for the
  218. PostScript routine to change the default paper tray. Thanks to Randy
  219. Hust for pointing out the MacWorld article which predicted the
  220. addition of the locked copies option;-). Thanks to Mike Schon-Hegrad
  221. for reporting the problems with the DeskWriter drivers and testing the
  222. FaxSTF driver.
  223.  
  224.  
  225. Legalese
  226. --------
  227.  
  228. Printer Defaults is Copyright ⌐1994 by John Rawnsley but may be used
  229. freely. You use it at your own risk. Always work on a COPY of the
  230. printer driver, never the original.
  231.  
  232.  
  233. Contacts
  234. --------
  235.  
  236. Current versions of Printer Defaults can be obtained by anonymous ftp
  237. from the Info-Mac archive at sumex-aim.stanford.edu or the University
  238. of Michigan's MacArchive at mac.archive.umich.edu and their mirrors.
  239. It is also available from the Macintosh library of the UK Computing
  240. Forum (GO UKCOMP) on CompuServe where I am a sysop.
  241.  
  242. Internet: jhr@maths.warwick.ac.uk
  243. CompuServe: 72662,3361
  244. Mail: John Rawnsley
  245.       Mathematics Institute
  246.       University of Warwick
  247.       Coventry, CV4 7AL
  248.       United Kingdom
  249.  
  250.  
  251. Version history
  252. ---------------
  253. In version 1.3.1 of Printer Defaults the additional options dialog for
  254. LaserWriter 8.x has been modified to work with an alpha release of
  255. LaserWriter 8.2 included on the 1994 World Wide Developer's Conference
  256. CD. There is no guarantee that it will work correctly with the final
  257. version of 8.2. It also adds an option to hide the Setup button in
  258. LaserWriter 7.2 and includes some untested postscript files intended
  259. to change the default paper trays on the Personal LaserWriter NTR and
  260. LaserWriter Select 310/360.
  261.  
  262. Version 1.3 adds the ability to lock the number of copies in the Print
  263. dialog of LaserWriter 8. This was mentioned in a recent US MacWorld
  264. article as one of Printer Defaults options so I guess I had better put
  265. it in. Some HP DeskWriter drivers cause Printer Defaults to crash
  266. unless they are the currently selected driver in the Chooser. Printer
  267. Defaults now checks for this and puts up a warning message if the
  268. driver is not selected. 
  269.  
  270. Version 1.2 adds Cmnd-Q to quit from Standard File dialog and an extra
  271. option to display an error alert when parsing PPD files in LaserWriter
  272. 8.0. It also fixes a cosmetic bug which failed to change the name of
  273. the folder button in the Standard File dialog to "System Folder" under
  274. System 6. PostScript programs are now included to change the default
  275. trays in the LaserWriter Pro 630.
  276.  
  277. Version 1.1.1 fixes a memory problem bug and has an improved
  278. interface.
  279.  
  280. Version 1.1 added some of Don Markuson's patches for LaserWriter
  281. 8.x.
  282.  
  283. Version 1.0 was the first public release and allowed the user
  284. to save the Page Setup settings as defaults. It allowed the
  285. LaserWriter 8.1.1 PRFS resource to be edited.
  286.  
  287.